<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@include file="/white/common/taglibs.jsp"%>
<%@include file="/white/common/common.jsp"%>

<html>
	<body>
		<div id="div_title">
			<h3>
				流程附件<s:label name="attachment.name"/>上传历史
			</h3>
		</div>

		<!-- Data Form -->
		<%@include file="/white/common/message.jsp"%>
		<s:form method="post" theme="simple">
			<s:token />
			
			<s:hidden name="attachmentId" value="%{attachment.attachmentId}"></s:hidden>
			<s:hidden name="workflowInstanceId" value="%{workflowInstance.workflowInstanceId}"></s:hidden>
			<table cellpadding="0" cellspacing="0" class="t_form">
				<tr>
						<th>
							备注
						</th>
						<th>
							版本
						</th>
						<th>
							附件
						</th>
					</tr>
					<s:iterator value="attachmentList" status="sindex">
						<tr>
							<td>
								<s:property value="NOTE" />
							</td>
							<td>
								<s:property value="VERSION" />
							</td>
							<td>
							<a href="<s:url value='download.action'>                  
                    				<s:param name='fileName'  
 									value='RESOURCE_ID'/>     
                 					</s:url>">
                 			<s:property value="FNAME" />
                 			</a>
							</td>
						</tr>
					</s:iterator>
			</table>

			<div id="div_button">
				<s:submit key="返回"
					onclick="form.action='worklistAction!returnDetail.action';return true;"
					cssClass="input_button" />
			</div>

			<s:hidden name="searchString" />

		</s:form>
		<!--Data Form End -->

	</body>

</html>